var log4js = require('log4js');

log4js.configure({
    appenders: [
        { type: 'console' },
        { type: 'dateFile', filename: 'logs/sport.log', pattern: '-yyyy-MM-dd', alwaysIncludePattern: false}
    ]
});

var logger = exports.logger = log4js.getLogger('sport');

